/// 关注关系
class FollowPrint {
  final String id;
  final String followerId; // 关注者ID
  final String followingId; // 被关注者ID
  final DateTime createdAt; // 关注时间

  FollowPrint({
    required this.id,
    required this.followerId,
    required this.followingId,
    required this.createdAt,
  });

  /// 复制并修改关注关系
  FollowPrint copyWith({
    String? id,
    String? followerId,
    String? followingId,
    DateTime? createdAt,
  }) {
    return FollowPrint(
      id: id ?? this.id,
      followerId: followerId ?? this.followerId,
      followingId: followingId ?? this.followingId,
      createdAt: createdAt ?? this.createdAt,
    );
  }
}
